package com.plian.system.service.im;

import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.alibaba.excel.write.metadata.fill.FillConfig;
import com.plian.system.entity.im.ExecutionProjectSituation;
import com.plian.system.mybatis.base.BaseService;

import java.util.List;

/**
 * 服务类
 *
 * @author
 * @since 2021-02-19
 */
public interface IExecutionProjectSituationService extends BaseService<ExecutionProjectSituation> {

    /**
     * 根据主表删除
     * @param ids
     * @return
     */
    boolean deleteByParentId(List<Long> ids);

    /**
     * 月报表 sheet页 三、股权投资项目情况 四、固定资产投资项目情况 数据写入
     * @param effectiveId
     * @param excelWriter
     * @param writeSheet
     * @param fillConfig
     */
    void write(Long effectiveId, ExcelWriter excelWriter, WriteSheet writeSheet, FillConfig fillConfig);
}
